﻿<%@ Page Title="Edit Problem" Theme="POSSystem" Language="C#" MasterPageFile="~/EditPages/Popup.Master" AutoEventWireup="true" CodeBehind="EditRepairProblem.aspx.cs" Inherits="WebUI.EditPages.EditRepairProblem" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PopupHeadHolder" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PopupToolbarHolder" runat="server">
    <table class="popuptoolbar" width="100%">
        <tr>
            <td style="vertical-align:middle; text-align:left">
                <asp:LinkButton ValidationGroup="Save" class="tbbutton" ID="btnSave" runat="server" OnClick="btnSave_OnClick">
                    <img src="../Images/save.gif" /><asp:Label ID="label1" runat="server" Text=" Save"></asp:Label>
                </asp:LinkButton> 
                <asp:LinkButton ValidationGroup="Save" class="tbbutton" ID="btnSaveClose" runat="server" OnClick="btnSaveAndClose_OnClick">
                    <img src="../Images/tb_SaveAndClose.gif" /><asp:Label ID="label2" runat="server" Text=" Save and Close"></asp:Label>
                </asp:LinkButton> 
            </td>
        </tr>
    </table>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PopupContentHolder" runat="server">
    <div style='margin-left:100px'>
        <table>
            <tr>
                <td style='text-align:right; vertical-align:top'>
                    <asp:Label class='labelMessage' ID="lblDesc" runat="server" Text="Description: "></asp:Label>
                </td>
                <td style='text-align:left; vertical-align:top'>
                    <asp:TextBox ID='txtDesc' runat="server" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDesc" Display="Dynamic" CssClass="requiredField"
                        ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style='text-align:right; vertical-align:top'>
                    <asp:Label class='labelMessage' ID="Label3" runat="server" Text="Price: "></asp:Label>
                </td>
                <td style='text-align:left; vertical-align:top'>
                    <asp:TextBox ID='txtPrice' runat="server" Width="80px"></asp:TextBox>
                    <cc1:FilteredTextBoxExtender FilterType="Numbers, Custom" ValidChars="." TargetControlID="txtPrice"
                        ID="FilteredTextBoxExtender1" runat="server">
                    </cc1:FilteredTextBoxExtender>
                    <asp:RequiredFieldValidator ValidationGroup="Save" ID="require1" runat="server" ControlToValidate="txtPrice" Display="Dynamic" CssClass="requiredField"
                        ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        
    </div>
</asp:Content>
